#!/bin/bash
read i
until (( $i == 0 ))
do
    echo $i
    let "i--"
done